package com.config.tomcat.value;

import jakarta.servlet.ServletException;
import org.apache.catalina.connector.Request;
import org.apache.catalina.connector.Response;
import org.apache.catalina.valves.ValveBase;

import java.io.IOException;

/**
 * @author chengyadong
 * @date 2023/9/21 16:41
 * @description host组件阀值定义
 */
public class HostValueTest extends ValveBase{
	@Override
	public void invoke(Request request, Response response) throws IOException, ServletException {
		System.out.println("hostValue:="+request.getRequestURI());
		getNext().invoke(request,response);
	}
}
